home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Java Certification Exam Guide
/
McGrawwHill-JavaCertificationExamGuide.iso
/
pc
/
Web Links and Code
/
code
/
chap20
/
GridFive.java
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Java Source
|
1997-04-20
|
326 b
|
14 lines
import java.awt.*;
import java.applet.*;
public class GridFive extends Applet {
public void init() {
setLayout(new GridLayout(1, 5));
add(new Button("First"));
add(new Button("Second"));
add(new Button("Third"));
add(new Button("Fourth"));
add(new Button("Fifth"));
}
}